package com.example.zhifubao.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.text.SimpleDateFormat;
import java.util.concurrent.TimeUnit;

@Component
@Data
public class PayVO {


    @Value("${alipay.appid}")
    public String appId;

    @Value("${alipay.public.key}")
    private String publicKey;

    @Value("${alipay.private.key}")
    private String privateKey;

    @Value("${alipay.notify.url}")
    private String notifyUrl;

    @Value("${alipay.return.url}")
    private String returnUrl;

    private final String signType = "RSA2";

    private final String charset="utf-8";

    private final String gatewayUrl= "https://openapi.alipay.com/gateway.do";





}
